package com.teamit.dao;

import com.teamit.entity.MessageComment;
import com.teamit.util.db.DBHelp;

public class MessageCommentDao {
	private DBHelp<MessageComment> db=new DBHelp<MessageComment>();
	public void save(MessageComment mc){
		String sql="insert into t_messagecomment(employee_id,project_id,message_id,comment) values(?,?,?,?)";
		db.executeSQL(sql, mc.getEmployeeId(),mc.getProjectId(),mc.getMessageId(),mc.getComment());
	}
}
